<?
switch ($_REQUEST['frame']){

	case "product" :
		$cat = 0;
		if ($_REQUEST['cat']!= '') $cat = killInjection($_REQUEST['cat']);
		$catInfo = getRecord("tbl_product_category","id=".$cat);
		$title = $catInfo['name'];
		break;	
	case "product_total" :
		$cat1 = 0;
		if ($_REQUEST['cat1']!= '') $cat1 = killInjection($_REQUEST['cat1']);
		$catInfo = getRecord("tbl_product_category","id=".$cat1);
		$title = $catInfo['name'];
		break;		
		
	case "product_new" 	   : $title = $_lang=="vn" ? "<h3>New Product</h3>" : "New Product";break;	
	case "product_detail"  : $title = $_lang=="vn" ? "Product detail" : "Product detail";break;	
	//====================================Single page=================================================
	case "service"     	   : $title = $_lang=="vn" ? " Testimonials " : " Testimonials ";break;// Testimonials 
	case "consulting"	   : $title = $_lang=="vn" ? "Consulting" : "Consulting";break;
	case "employment"      : $title = $_lang=="vn" ? "Employment" : "Employment";break;													
	//------------------------------------------------------------------------------------------------
	case "cart"    		   : $title = $_lang=="vn" ? "Cart" : "Cart";	break;
	case "checkout" 	   : $title = $_lang=="vn" ? "Information order" : "Information order";	break;
	case "customer" 	   : $title = $_lang=="vn" ? "Customer" : "Customer";	break;
	case "contact"         : $title = $_lang=="vn" ? "Contact" : "Contact";	break;
	case "intro"           : $title = $_lang=="vn" ? "Bulk Buyers " : "Bulk Buyers ";break;//Bulk Buyers 
	case "news"            : $title = $_lang=="vn" ? "News & Event" : "News & Event";break;
	case "news_all"        : $title = $_lang=="vn" ? "News & Event" : "News & Event";break;
	case "news_detail"     : $title = $_lang=="vn" ? "News detail" : "News detail";break;
	//====================================Search======================================================
	case "search"          : $title = $_lang=="vn" ? "Return Search" : "Return Search";break;
	case "registry"        : $title = $_lang=="vn" ? "Register" : "Register";break;
	case "member"          : $title = $_lang=="vn" ? "member" : "member";break;
	case "login"           : $title = $_lang=="vn" ? "Login" : "Login";break;
	case "forgotpass"      : $title = $_lang=="vn" ? "Forgot password" : "Forgot password";break;	
	case "changepassword"  : $title = $_lang=="vn" ? "Change password" : "Change password";break;		
	
	case "home"            : $title = $_lang=="vn" ? "<h3>New product</h3>" : "New product";break;
	default                : $title = $_lang=="vn" ? "<h3>New product</h3>" : "New product";break;

}
echo $title;
?>
